package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 业务员物料消费实体
 * 表名 goods_record
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:45 CST 2020
 */
@Setter
@Getter
public class GoodsRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //业务员ID
    private Long userId;
        //日程ID
    private Long todoId;
        //物料ID
    private Long goodsId;
        //物料名称
    private String goodsName;
        //消费数量
    private Integer number;

    public GoodsRecordEntity(){

    }

    public GoodsRecordEntity(Long userId, Long todoId, Long goodsId, String goodsName, Integer number) {
        this.userId = userId;
        this.todoId = todoId;
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.number = number;
    }
}
